package com.accounting.juanjuan.entity;

/**
 * 基础数据,处理金额，
 *
 * @Author xxj
 * @Date 2024/1/26 15:12
 * @Version 1.0
 */
public class AmountData {
    /**
     * 序号，第几行
     */
    private int xh;

    /**
     * 对应的金额
     */
    private double amount;

    public AmountData(int xh, double amount) {
        this.xh = xh;
        this.amount = amount;
    }

    public int getXh() {
        return xh;
    }

    public void setXh(int xh) {
        this.xh = xh;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "AmountData{" +
                "xh=" + xh +
                ", amount=" + amount +
                '}';
    }
}
